html

您所在的位置:网站首页 border html html

html

#html| 来源: 网络整理| 查看: 265

Consider a div with the border-radius, border, and background-color CSS attributes applied:

Blah

enter image description here

Now consider a similar layout but with the background-color specified in an inner-div:

Blah

enter image description here

I'm dismayed by the fact that the background-color of the inner is obscuring the border of the outer .

This is a simplified sample of the problem. In reality, I'm using a as the inner element with alternating row colors. And I'm using a as the outer element since border-radius does not seem to work on the element. Here's a jsfiddle of a sample of this problem.

Does anyone have a suggestion for a solution?



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3